home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr48 / pavt150.zip / JAMUTILW.ZIP / MAKEFILE.MSC < prev    next >
Text File  |  1993-07-01  |  1KB  |  42 lines

  1. #
  2. #   JAM(mbp) - The Joaquim-Andrew-Mats Message Base Proposal
  3. #
  4. #   JAM Windows Utility
  5. #
  6. #   Written by Mats Wallin
  7. #
  8. #   ----------------------------------------------------------------------
  9. #
  10. #   makefile (JAMmb)
  11. #
  12. #   Make file for JAM(mbp) JAMUTIL (Windows) and Microsoft C/C++ 7.0
  13. #
  14. #   The resulting EXE file will require a 286 or later, and Windows in
  15. #   protected mode.
  16. #
  17. #   Copyright 1993 Joaquim Homrighausen, Andrew Milner, Mats Birch, and
  18. #   Mats Wallin. ALL RIGHTS RESERVED.
  19. #
  20. CMDL    = S
  21. CC      = cl
  22. RC      = rc
  23. CFLAGS  = -c -W3 -A$(CMDL) -G2 -GAsr -Ox -Zp
  24.  
  25. OBJS    = jamutilw.obj
  26. LIBS    = jamapi.lib commdlg.lib libw.lib $(CMDL)libcew.lib
  27. DEF     = jamutilw.def
  28. DLGS    = jamutilw.dlg
  29.  
  30. .c.obj:
  31.         $(CC) $(CFLAGS) $*.c | tee $*.err
  32.  
  33. jamutilw.exe:   $(OBJS) $(DEF) $(DLGS)
  34.         echo $(OBJS)                            >  $*.rsp
  35.         echo $@ /nol/al:16/noi/farcall/map      >> $*.rsp
  36.         echo $*.map                             >> $*.rsp
  37.         echo $(LIBS)                            >> $*.rsp
  38.         echo $(DEF)                             >> $*.rsp
  39.         link @$*.rsp
  40.         $(RC) -t $* $@
  41.         del $*.rsp
  42.